package com.zjj.service.impl;

import com.zjj.dao.OrderDao;
import com.zjj.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl implements OrderService {
    @Autowired
    @Qualifier(value = "orderDao")
    OrderDao orderDao;

    @Autowired
    @Qualifier(value = "orderNewDao")
    OrderDao orderNewDao;


    @Override
    public void showOrderDetail() {
        orderDao.showOrderDetail();
    }

    @Override
    public void showOrderNewDetail() {
        orderNewDao.showOrderDetail();
    }


}
